package com.ylr.base.framework.entity;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-09 16:46:38
 * className: BaseEntity
 * version: 1.0
 * description:
 */
@Getter
@Setter
public abstract class BaseEntity {

    /**
     * 主键
     */
    protected Long id;

    /**
     * 状态[0-可用 1-停用]
     */
    protected Integer status;

    /**
     * 删除状态[0-正常 1-删除]
     */
    protected Integer deleteStatus;

    /**
     * 更新时间
     */
    protected Date updateTime;

    /**
     * 更新用户
     */
    protected String updateUser;

    /**
     * 更新用户主键
     */
    protected Long updateUserId;

    /**
     * 创建时间
     */
    protected Date createTime;

    /**
     * 创建用户
     */
    protected String createUser;

    /**
     * 创建用户主键
     */
    protected Long createUserId;

}
